// To parse this JSON data, do
//
//     final shortcut = shortcutFromJson(jsonString);

import 'dart:convert';

List<Shortcut> shortcutFromJson(String str) => List<Shortcut>.from(json.decode(str).map((x) => Shortcut.fromJson(x)));

String shortcutToJson(List<Shortcut> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class Shortcut {
    String title;
    String content;

    Shortcut({
        required this.title,
        required this.content,
    });

    factory Shortcut.fromJson(Map<String, dynamic> json) => Shortcut(
        title: json["title"],
        content: json["content"],
    );

    Map<String, dynamic> toJson() => {
        "title": title,
        "content": content,
    };
}
